
package za.ac.cput.peterjohn.DesignPatternPrincipals.Structural.Proxy.Model;

public class Proxy 
{
    SlowThing slowThing = null;

    public Proxy() {}
    
    public String sayHello()
    {
        if(slowThing == null)
            slowThing = new SlowThing();
        
        return slowThing.sayHello();
    }
}